package nl.unimaas.micc.umsnooker.gameflow.phases;

import nl.unimaas.micc.umsnooker.gameflow.GamePhase;
import nl.unimaas.micc.umsnooker.gameflow.GameState;

public class BreakInitPhase extends GamePhase
{
	public BreakInitPhase(GameState state)
	{
		super(state);
	}

	@Override
	public void start()
	{
		super.start();
		state.setOnBalls(GameState.redBalls);
		finish();
	}
	

	
	@Override
	public void finish()
	{
		if(finished)
		{
			return;
		}
		setNext(new PositioningPhase(state));
		super.finish();
	}
}
